app.directive('loading', function() {
    return {
        restrict: 'E',
        scope: {
            isLoading: '='
        },
        templateUrl: 'templates/loading.html',
        replace: false
    };
});
